package com.activiti.ActivitiUtils.builder.payload.process.definition;

import java.util.Set;

/**
 * create by chongyahhh
 * 2020/4/4
 */
public class ProcessDefinitionQueryPayload {
    private Set<String> processDefinitionKeys;
    private Set<String> processDefinitionIds;

    public ProcessDefinitionQueryPayload() {
    }

    public Set<String> getProcessDefinitionKeys() {
        return processDefinitionKeys;
    }

    public void setProcessDefinitionKeys(Set<String> processDefinitionKeys) {
        this.processDefinitionKeys = processDefinitionKeys;
    }

    public Set<String> getProcessDefinitionIds() {
        return processDefinitionIds;
    }

    public void setProcessDefinitionIds(Set<String> processDefinitionIds) {
        this.processDefinitionIds = processDefinitionIds;
    }

    public ProcessDefinitionQueryPayload withProcessDefinitionKeys(Set<String> processDefinitionKeys) {
        this.processDefinitionKeys = processDefinitionKeys;
        return this;
    }

    public ProcessDefinitionQueryPayload withProcessDefinitionIds(Set<String> processDefinitionIds) {
        this.processDefinitionIds = processDefinitionIds;
        return this;
    }
}
